package com.joshua.spring.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * projectName dragon-cloud
 * package com.joshua.spring.property
 * classname  Oauth2Properties
 * <p>
 * description 配置类
 * </p>
 *
 * @author <a href="mailto:joshualwork@163.com">joshua_liu</a>
 * @date 2020/9/18 11:09
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "business.oauth")
public class Oauth2Properties {
    private String clientSecret;
    private String clientId;
    private String grantType;
    private String oauth2TokenUri;
    private String[] ignoreUris;
}
